solving rise fall table

visit shbcf.ru